﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace ZHIJIAO.Controllers
{
    public class MemberController : Controller
    {
        public IActionResult Index()
        {
            return View();
        }

        /// <summary>
        ///  会员订单页面（视图）
        /// </summary>
        public IActionResult Order()
        {
            return View();
        }

        /// <summary>
        /// 会员课程（视图）
        /// </summary>
        [Authorize]
        public IActionResult Course()
        {
            return View();
        }

        /// <summary>
        /// 会员测评（视图）
        /// </summary>
        public IActionResult Evaluation()
        {
            return View();
        }

        /// <summary>
        /// 查询用户列表
        /// </summary>
        [HttpGet("api/member/get-member-list")]
        public async Task<IActionResult> GetMemberListAsync(string? filterName)
        {
            return Ok();
        }
    }
}
